예제 #1
0
        public void Resolve_Any_IsNotNull()
        {
            var sut    = new HueColorResolver();
            var result = sut.Resolve(new CIStatus());

            result.Should().NotBeNull();
        }
예제 #2
0
        public void Resolve_Null_Throws()
        {
            var    sut    = new HueColorResolver();
            Action action = () => sut.Resolve(null);

            action.Should().ThrowExactly <ArgumentNullException>();
        }