public void GetResult_UnknownOption_Throws() { // Arrange var type = new FullyCoveredType(); // Act & Assert Assert.Throws <NotImplementedException>(() => type.GetResult(Options.Unknown)); }
public void GetResult_ValidOptions_ReturnsNonEmptyResult(Options options) { // Arrange var type = new FullyCoveredType(); // Act var result = type.GetResult(options); // Assert var isNullOrWhiteSpace = string.IsNullOrWhiteSpace(result); Assert.False(isNullOrWhiteSpace); }