Assert.Equal(TwitterApiAccessLevel.ReadWriteAndDirectMessage, status.AccessLevel);
}
+ [Fact]
public void UpdateFromJsonTest()
{
var status = new TwitterApiStatus();
this.MyCommonSetup();
}
- public void MyCommonSetup()
+ private void MyCommonSetup()
{
var mockAssembly = new Mock<_Assembly>();
mockAssembly.Setup(m => m.GetName()).Returns(new AssemblyName("OpenTween"));
this.MyCommonSetup();
}
- public void MyCommonSetup()
+ private void MyCommonSetup()
{
var mockAssembly = new Mock<_Assembly>();
mockAssembly.Setup(m => m.GetName()).Returns(new AssemblyName("OpenTween"));
Assert.Equal(expected, thisCulture.Contains(thatCulture));
}
+ [Fact]
public void Contains_InvariantCultureTest()
{
// InvariantCulture は全てのカルチャを内包する
Assert.False(ret);
}
+ [Fact]
public void GetterTest()
{
var dict = new LRUCacheDictionary<string, string>
this.MyCommonSetup();
}
- public void MyCommonSetup()
+ private void MyCommonSetup()
{
var mockAssembly = new Mock<_Assembly>();
mockAssembly.Setup(m => m.GetName()).Returns(new AssemblyName("OpenTween"));
this.MyCommonSetup();
}
- public void ThumbnailGeneratorSetup()
+ private void ThumbnailGeneratorSetup()
{
ThumbnailGenerator.Services.Clear();
ThumbnailGenerator.Services.AddRange(new[]
});
}
- public void MyCommonSetup()
+ private void MyCommonSetup()
{
var mockAssembly = new Mock<_Assembly>();
mockAssembly.Setup(m => m.GetName()).Returns(new AssemblyName("OpenTween"));