public void ShouldDraw() { var baseUnit = new BaseUnit(); var fakeGrapic = new FakeGrapics(); var fakeRectangle = new Rectangle(); var settings = new DefaultSettings(); var fakeNode = new Node(new CoinBuilder(settings), settings); baseUnit.Draw(fakeGrapic, fakeRectangle, fakeNode); var expectedMethodcalled = nameof(FakeGrapics.FillRectangle); Assert.True(fakeGrapic.MethodCalled == expectedMethodcalled); }