public void TryingToSaveNullGuidShouldBePunished() { var input = new ZeroContentHashModel(); var fixture = createExtendedFixture(); bool shouldFail = true; try { fixture.Save(input); } catch (Exception ex) { shouldFail = false; } Assert.False(shouldFail); shouldFail = true; try { fixture.CreateSyncPoint(input); } catch (Exception ex) { shouldFail = false; } Assert.False(shouldFail); }
public void TryingToSaveNullGuidShouldBePunished() { var input = new ZeroContentHashModel(); var fixture = createExtendedFixture(); bool shouldFail = true; try { fixture.Save(input); } catch(Exception ex) { this.Log().Debug(ex); shouldFail = false; } Assert.False(shouldFail); shouldFail = true; try { fixture.CreateSyncPoint(input); } catch(Exception ex) { this.Log().Debug(ex); shouldFail = false; } Assert.False(shouldFail); }