public function testSupportsClass() { $class = 'Test\\Class'; $this->adm->shouldReceive('supportsClass')->once()->with($class)->andReturn(true); $this->assertTrue($this->pwfc->supportsClass($class)); }