private void TryRemove(string path) { try { _validator.RemoveEntity(path); } catch (ArgumentException ae) { OnOutOfContext(path, ae); } }
public RollingContextTest RemoveEntity(string path, bool assertReturn = true) { Xunit.Assert.Equal(assertReturn, Validator.RemoveEntity(path)); return(this); }