コード例 #1
0
        private async void PrivacyLevelECL_TestPrivacyLevelECL()
        {
            var privacyLevelEdit = await PrivacyLevelECL.NewPrivacyLevelECL();

            Assert.NotNull(privacyLevelEdit);
            Assert.IsType <PrivacyLevelECL>(privacyLevelEdit);
        }
コード例 #2
0
        private async void PrivacyLevelECL_TestGetPrivacyLevelECL()
        {
            var childData = MockDb.PrivacyLevels;

            var listToTest = await PrivacyLevelECL.GetPrivacyLevelECL(childData);

            Assert.NotNull(listToTest);
            Assert.Equal(3, listToTest.Count);
        }