/** * __construct() should return snippet if source does exist */ public function test_construct_returnsSnippet_ifSourceDoesExist() { $snippet = new Snippet('mis\\cxds '); $this->assertTrue($snippet instanceof Snippet); $this->assertEquals(2, $snippet->getLength()); return; }