Unit test hinzugefügt

This commit is contained in:
Holger Boerchers
2018-08-19 21:37:03 +02:00
parent d7e6dcc3b2
commit fed5a3b443
17 changed files with 115 additions and 59 deletions

View File

@@ -0,0 +1,18 @@
using SmallInjectorDemo;
using Xunit;
namespace InjectorTest
{
public class HelperTest
{
[Fact]
public void Test()
{
const string expected = "[-] HelperTest.Test Id: 0";
var actual = Helper.WriteMethodString(new TestClock(), 0);
Assert.Equal(expected, actual);
}
}
}