public void LeggTilStr_Ok()
        {
            //Arrange
            var controller = new SkoAdminController(new SkoBLL(new DbSkoStub()), new AttributtBLL(new DbAttributterStub()));
            var forventetResultet = new Storlek
            {
                storlekId = 1,
                storlek = 35
            };
            //Act
            var resultat = controller.LeggTilStr(1,new Storlek { storlek = 35 });
            dynamic jsonObject = resultat.Data;

            //Assert
            Assert.AreEqual(jsonObject.storlekId , forventetResultet.storlekId);
            Assert.AreEqual(jsonObject.storlek, forventetResultet.storlek);
        }
        public void LeggTilStr_Feil_Db()
        {
            //Arrange
            var controller = new SkoAdminController(new SkoBLL(new DbSkoStub()), new AttributtBLL(new DbAttributterStub()));

            //Act
            var resultat = controller.LeggTilStr(0, new Storlek { storlek = 35 });
            dynamic jsonObject = resultat.Data;

            //Assert
            Assert.AreEqual(jsonObject, null);
        }