public void ReturnsDiskLimit() { var limitInBytes = (ulong)7e6; ContainerDiskQuota.CurrentLimit().Returns(limitInBytes); Assert.Equal(limitInBytes, Container.CurrentDiskLimit()); }
public void SetsUserDiskLimit() { Container.LimitDisk(5); ContainerDiskQuota.Received(1).SetQuotaLimit(5); }
public void DeletesDiskQuota() { Container.Destroy(); ContainerDiskQuota.Received(1).DeleteQuota(); }