public TeamCityService(ITeamCityClient client) { Logger.Debug("Connecting to TeamCity as guest"); _client = client; _client.ConnectAsGuest(); }
public void ParameterlessConstructor_LoginsAsGuest() { new TeamCityService(this._teamcityClient); A.CallTo(() => _teamcityClient.ConnectAsGuest()).MustHaveHappened(); }