public function testAcceptsStoryTemplates() { // ---------------------------------------------------------------- // setup your test $obj = new MustBeValidStoryTemplate(); // ---------------------------------------------------------------- // perform the change $result = $obj->validate("DataSift\\Storyplayer\\ValidationLib\\AStoryTemplate"); // ---------------------------------------------------------------- // test the results $this->assertNotNull($result); $this->assertTrue($result->isValid()); }