Example #1
0
        public void Constructor_WithValues_PropertiesAreSet()
        {
            var spec = new EqualToHavingSpec("test_agg", 100);

            Assert.That(spec.Aggregation, Is.EqualTo("test_agg"));
            Assert.That(spec.Value, Is.EqualTo(100));
        }
Example #2
0
        public void Constructor_TypeIsCorrect()
        {
            var spec = new EqualToHavingSpec("test_agg", 100);

            Assert.That(spec.Type, Is.EqualTo("equalTo"));
        }