Example #1
0
        public void TestDeserializeFromJson()
        {
            var expected = new ExposureConfiguration();
            var exposureConfiguration = Utils.ReadObjectFromJsonPath <ExposureConfiguration>(PATH_JSON);

            Assert.True(expected.Equals(exposureConfiguration));
        }
Example #2
0
        public void TestNotEquals()
        {
            var expected = new ExposureConfiguration();

            expected.GoogleExposureConfig.MinimumRiskScore = 1;

            var exposureConfiguration = Utils.ReadObjectFromJsonPath <ExposureConfiguration>(PATH_JSON);

            Assert.False(expected.Equals(exposureConfiguration));
        }