public void TestNullGuidException() { // arrange var GuidKey = new GuidKey(); // act GuidKey.Validate(); }
public void TestEmptyGuidException() { // arrange var GuidKey = new GuidKey() { Key = Guid.Empty }; // act GuidKey.Validate(); }
public void WithValidGuid() { // arrange var GuidKey = new GuidKey() { Key = Guid.NewGuid() }; // act var Result = GuidKey.IsValid(); // assert Assert.That(Result, Is.True); }
public void WithNullGuid() { // arrange var GuidKey = new GuidKey(); // act var Result = GuidKey.IsValid(); // assert Assert.That(Result, Is.False); }