public void HasIdWhenEntity()
        {
            var result = _typeHelperService.TypeHasProperties <Entity>("Id");

            Assert.True(result);

            var result1 = _typeHelperService.TypeHasProperties <Entity>("id");

            Assert.True(result1);
        }
Esempio n. 2
0
        public void ReturnsFalseFieldNotExist(string fields)
        {
            var sut = new TypeHelperService();

            Assert.False(sut.TypeHasProperties <DummyEntity>(fields));
        }