/** * @depends testBuildTest */ public function testAssessFailingTest(\Gajus\Vlad\Test $test) { $test->assert('foo')->is('String'); $assessment = $test->assess(['foo' => new \stdClass()]); $this->assertCount(1, $assessment); $this->assertSame('Foo is not a string.', $assessment[0]); }