public void Test0ArgCreatePlusDataSource_ReturnsNullForNoCredentials() { CredentialStoreMock.SetupGet(cs => cs.CurrentGoogleCredential).Returns(() => null); IGPlusDataSource result = _objectUnderTest.CreatePlusDataSource(); Assert.IsNull(result); }
public void Test0ArgCreatePlusDataSource_ReturnsNullForNoCredentials() { CredentialStoreMock.SetupGet(cs => cs.CurrentGoogleCredential).Returns(() => null); IGPlusDataSource result = _objectUnderTest.CreatePlusDataSource(); Assert.IsNull(result); }