user = new User(); } /** * @test */ public function it_can_be_constructed() { $this->assertInstanceOf(User::class, $this->user); } /** * @test */ public function it_has_a_hasOne_relationship_to_token() { $this->assertInstanceOf(Token::class, $this->user->quickBooksToken()->getModel()); } }