CFML class paths


#1

In my test for Coldfusion I frequently mock http calls with this code fragment.

	mockHttpService = $mockbox.createMock('com.adobe.coldfusion.http');

This fails because clearly I am not using the Adobe code in Lucee.

What would be the class path for the equivalent module/tag in Lucee?
And is there a reference some where to lookup other classes?


#2

Try this:

mockHttpService = $mockbox.createMock('org.lucee.cfml.Http');

#3

Perfect, works like a charm.
Do you know where there is a list or reference for the classes?


#4

I couldn’t find anything in the docs, but the org.lucee.cfml package contains the following cfcs:

Feed
Ftp
Http
Mail
Query