Example #1
0
        public void GivenLastIdOnUsersList_WhenGetNewUserIdIsCalled_ShouldReturnCorrectNewUserId(int lastIdOnUsersList, int expectedNewUserId)
        {
            IdService getIdServ = new IdService();
            var       result    = getIdServ.GetNewUserId(lastIdOnUsersList);

            result.ShouldBe(expectedNewUserId);
        }