Skip to content

Commit

Permalink
Move assertions to an actual test
Browse files Browse the repository at this point in the history
  • Loading branch information
blowfishpro committed Feb 6, 2017
1 parent 6afb465 commit 287a3af
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions B9PartSwitchTests/Fishbones/NodeDataBuilderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,16 @@ private class DummyClass4 { }
public NodeDataBuilderTest()
{
builder = Substitute.ForPartsOf<NodeDataBuilder>(nodeData, fieldWrapper, parseMap);

Assert.Same(nodeData, builder.nodeData);
Assert.Same(fieldWrapper, builder.fieldWrapper);
Assert.Same(parseMap, builder.valueParseMap);
}

#region Constructor

[Fact]
public void TestNew()
{
NodeDataBuilder builder2 = new NodeDataBuilder(nodeData, fieldWrapper, parseMap);
Assert.Same(nodeData, builder.nodeData);
Assert.Same(fieldWrapper, builder.fieldWrapper);
Assert.Same(parseMap, builder.valueParseMap);
}

[Fact]
Expand Down

0 comments on commit 287a3af

Please sign in to comment.