Ejemplo n.º 1
0
        public void WithExtraSystems_WithRedundantCall_Throws()
        {
            var settings = new GameObjectConversionSettings();

            settings.WithExtraSystem <int>();

            Assert.That(() => settings.WithExtraSystem <float>(), Throws.Exception
                        .With.TypeOf <InvalidOperationException>()
                        .With.Message.Contains("already initialized"));
        }