Exemplo n.º 1
0
        public void TestProbeHandlersMapper_MapNoActors_ReturnsEmptyResult()
        {
            //arrange
            TestProbeHandlersMapper sut = CreateTestProbeHandlersMapper();

            //act
            MappedHandlers result = sut.Map(SettingsHandlers.Empty);

            //assert
            result.Should().BeEmpty();
        }
Exemplo n.º 2
0
        public void TestProbeHandlersMapper_MapWithNullSettingsHandlers_ThrowsArgumentNullException()
        {
            //arrange
            TestProbeHandlersMapper sut = CreateTestProbeHandlersMapper();

            //act
            Action act = () => sut.Map(null);

            //assert
            act.ShouldThrow <ArgumentNullException>();
        }