public void InvalidAgentConfiguration_WithoutException() { // Arrange var sut = new SaboteurAgentConfig(); // Act / Assert Assert.All(sut.GetAgentsConfiguration(), Assert.Null); }
public void FailsToGetAgentConfiguration_WithException() { // Arrange var expectedException = new Exception(); var sut = new SaboteurAgentConfig(expectedException); // Act / Assert Assert.Throws(expectedException.GetType(), () => sut.GetAgentsConfiguration()); }