mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-31 14:43:40 +02:00
NET Core 2.1 + support for Service Fabric commandline parameters (#209)
* netcore 2.1 * SimpleCommandLineParserTests * tests * SimpleCommandLineParserTests * test report * AspNetCoreSelfHost * Fixed Resharper warnings * tests * . * ResponseWithProxyTests ResponseWithProxyTests * postmanecho
This commit is contained in:
@@ -8,13 +8,13 @@ namespace WireMock.Net.Tests.Handlers
|
||||
{
|
||||
public class LocalFileSystemHandlerTests
|
||||
{
|
||||
private LocalFileSystemHandler sut = new LocalFileSystemHandler();
|
||||
private readonly LocalFileSystemHandler _sut = new LocalFileSystemHandler();
|
||||
|
||||
[Fact]
|
||||
public void LocalFileSystemHandler_GetMappingFolder()
|
||||
{
|
||||
// Act
|
||||
string result = sut.GetMappingFolder();
|
||||
string result = _sut.GetMappingFolder();
|
||||
|
||||
// Assert
|
||||
Check.That(result).EndsWith(Path.Combine("__admin", "mappings"));
|
||||
@@ -24,14 +24,14 @@ namespace WireMock.Net.Tests.Handlers
|
||||
public void LocalFileSystemHandler_CreateFolder_Throws()
|
||||
{
|
||||
// Act
|
||||
Check.ThatCode(() => sut.CreateFolder(null)).Throws<ArgumentNullException>();
|
||||
Check.ThatCode(() => _sut.CreateFolder(null)).Throws<ArgumentNullException>();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void LocalFileSystemHandler_WriteMappingFile_Throws()
|
||||
{
|
||||
// Act
|
||||
Check.ThatCode(() => sut.WriteMappingFile(null, null)).Throws<ArgumentNullException>();
|
||||
Check.ThatCode(() => _sut.WriteMappingFile(null, null)).Throws<ArgumentNullException>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user