public void EnvironmentProvider_Mutations_Test() { var environment = VkApiProvider .GetMessages() .GetEnvironment(); Assert.Equal(AccessToken, environment.AccessToken); VkApiProvider .GetMessages() .GetEnvironment() .AccessToken = "new_access_token"; environment = VkApiProvider .GetEnvironmentProvider() .GetEnvironment(); Assert.Equal(AccessToken, environment.AccessToken); }
public IMessages GetMessages() { return(VkApiProvider.GetMessages()); }