assertEquals('test-world', $world->name()); $this->assertEquals(1, $world->width()); $this->assertEquals(2, $world->height()); $world = new World(1, 2); $this->assertTrue(is_string($world->name())); $this->assertTrue(strpos($world->name(), 'world') === 0); $this->assertEquals(1, $world->width()); $this->assertEquals(2, $world->height()); } }