public function testFactoryEmptyArray() { $vertices = Vertices::factory(array()); $this->assertInstanceOf('Fhaculty\\Graph\\Set\\Vertices', $vertices); $this->assertTrue($vertices->isEmpty()); }