create(); // When I get the extra info for the album Lastfm::shouldReceive('getAlbumInfo') ->once() ->with($album->name, $album->artist->name) ->andReturn(['foo' => 'bar']); $info = $album->getInfo(); // Then I receive the extra info $this->assertEquals(['foo' => 'bar'], $info); } }