Fixed
Pinned fields
Click on the next to a field label to start pinning.
Created March 6, 2014 at 10:27 PM
Updated February 22, 2016 at 10:05 PM
Resolved February 22, 2016 at 10:05 PM
BoxLang: Our new JVM Dynamic Language made by Ortus! Check it out: https://www.boxlang.io
I am having an issue using mockbox to mock an interface that implements another interface.
I am doing something like this:
mockSearchable = mockbox.createStub(implements="ISearchable");
ISearchable.cfc:
interface extends="IPermissible"{
}
IPermissible.cfc:
interface {
boolean function checkPermission(required number userID);
}
Currently, this produces the following error, presumably because the mock does not implement the methods of the extended interface:
component [C:\inetpub\wwwroot\coldbox\system\testing\stubs\822EF881-060B-4017-AA17A33D85186F7C.cfc] does not implement the function [checkpermission(number userid)] of the interface [C:\inetpub\wwwroot\myProject\IPermissible.cfc]