I am trying to expect an assertion failure and then the set of all my tests should not throw a failure.
/**
* @expectedException Exception
*
*/
public function testGetAtlantisDriver(){
$object = null
$this->assertNotNull($object);
}
But this is not working.
What I get is an assertion failure
Failed asserting that null is not null.
I expected the tests would be pass without failure. What did I wrong or what can I do to make this pass?
Thank you