public void EntryInCode_Positive()
 {
     using (ServiceMock mocks = new ServiceMock()) {
         EntryPositionChecker entryChecker = Setup(mocks);
         Assert.IsTrue(entryChecker.EntryInCode(code, 1));
         Assert.IsTrue(entryChecker.EntryInCode(code, 2));
         Assert.IsTrue(entryChecker.EntryInCode(code, 3));
         Assert.IsTrue(entryChecker.EntryInCode(code, 4));
     }
 }
 public void EntryInCode_Negative()
 {
     using (ServiceMock mocks = new ServiceMock()) {
         EntryPositionChecker entryChecker = Setup(mocks);
         Assert.IsFalse(entryChecker.EntryInCode(code, 55));
         Assert.IsFalse(entryChecker.EntryInCode(code, 6));
         Assert.IsFalse(entryChecker.EntryInCode(code, 700));
         Assert.IsFalse(entryChecker.EntryInCode(code, 8));
     }
 }