The method assertEquals() does not seem to exist on object<SapphireSoapServerTest>.
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
Loading history...
14
$response->getHeader('Content-Type'),
15
'text/xml; charset=utf-8',
16
'wsdl request returns with correct XML content type'
17
);
18
}
19
}
20
21
/**
22
*/
23
class SapphireSoapServerTest_MyServer extends SapphireSoapServer
PSR1 recommends that each class should be in its own file to aid autoloaders.
Having each class in a dedicated file usually plays nice with PSR autoloaders
and is therefore a well established practice. If you use other autoloaders, you
might not want to follow this rule.
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.