public void AsyncLoaderDoesNotSupportReplace() { var loader = new AsyncLoader <int>(Seq.ListBased); Action callingReplace = () => loader.Replace(1, 2); callingReplace.ShouldThrow <NotSupportedException>(); }
public void AsyncLoaderDoesNotSupportReplace() { var loader = new AsyncLoader <int>(Seq.ListBased); Action callingReplace = () => loader.Replace(1, 2); callingReplace.ShouldThrow <NotSupportedException>(); }