public void GetReplicationConnectionFailures_Disposed_ThrowsObjectDisposedException() { var controller = new SubController(); controller.Dispose(); Assert.Throws <ObjectDisposedException>(() => controller.GetReplicationConnectionFailures()); }
public void GetReplicationConnectionFailures_NoContext_ThrowsNullReferenceException() { var controller = new SubController(); Assert.Throws <NullReferenceException>(() => controller.GetReplicationConnectionFailures()); }