public void TestCreateNonEmptyNothing() { var instance = Maybe.CreateNonEmpty(""); instance.AssertNothing(); instance = Maybe.CreateNonEmpty(null); instance.AssertNothing(); instance = Maybe.CreateNonEmpty(" "); instance.AssertNothing(); }
public void TestCreateNonEmpty() { var instance = Maybe.CreateNonEmpty("test"); instance.AssertJust("test"); }