/** * @covers \Phactory::has_one */ public function testPhactoryHasOne() { $message = Phactory::message(); $this->assertEquals($message, (object) array('title' => 'OMGWTFBBQ!', 'content' => 'Food goes in here.', 'employer' => (object) array('first_name' => 'Fronzel', 'last_name' => 'Neekburm', 'email' => '*****@*****.**'))); }