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