Пример #1
0
            public void Should_Throw_If_Services_Reference_Is_Null()
            {
                // Given
                ICakeServices services = null;

                // When
                var result = Record.Exception(() => services.UseModule <DummyModule>());

                // Then
                AssertEx.IsArgumentNullException(result, "services");
            }