markTestIncomplete('WIP'); $data = [ 'parsed' => ['parsed data'], 'unparseable' => ['unparseable data'], ]; $parts = Parse::create($data); $this->assertEquals($data['parsed'], $parts->getParsed()); $this->assertEquals($data['unparseable'], $parts->getUnparseable()); } public function testParseConstructorWithInvalidData() { $this->markTestIncomplete('WIP'); $data = [ 'parsed' => null, 'unparseable' => null, ]; $parts = Parse::create($data); $this->assertEquals([], $parts->getParsed()); $this->assertEquals([], $parts->getUnparseable()); } }