public void ReturnFileResourceResultWithResource() { var contextMock = new Mock<IResourceContext>(); var resource = new ClientResource(); var result = resource.Execute(contextMock.Object); Assert.NotNull(result); }
public void ThrowExceptionWithNullParameters() { var resource = new ClientResource(); Assert.Throws<ArgumentNullException>(() => resource.Execute(null)); }