mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-29 03:32:52 +01: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:
1 parent
04bcca6e14
commit
83457c1601
147 files changed
+3676
-3330
No files matched your search
@@ -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