public void TestMockCreate()
        {
            Group    g        = new Group();
            IDbGroup mockedDb = MockCreate(g).Object;

            Assert.DoesNotThrow(() => mockedDb.Create(g));
        }
        public void TestGroupReadAll()
        {
            List <string> lista = new List <string>()
            {
                "123456",
                "1234567",
                "12345678"
            };

            IDbGroup mockedDb = MockReturnAll(lista).Object;
            var      result   = mockedDb.ReadAll("1234");

            //Ne postoji takva lista
            Assert.IsNull(result);
        }
        public void TestMockIncreaseNumber()
        {
            IDbGroup mockedDb = MockIncreaseNumber("first").Object;

            Assert.DoesNotThrow(() => mockedDb.IncreaseNumber("first"));
        }