Exemplo n.º 1
0
        public void ValidateSpecificStochasts_Always_ReturnsTrue()
        {
            // Setup
            var mocks         = new MockRepository();
            var configuration = mocks.Stub <StructuresCalculationConfiguration>("name");

            mocks.ReplayAll();

            var calculation = new StructuresCalculation <SimpleStructuresInput>();

            var assigner = new SimpleStructuresCalculationStochastAssigner(
                configuration,
                calculation);

            // Call
            bool valid = assigner.PublicValidateSpecificStochasts();

            // Assert
            Assert.IsTrue(valid);
            mocks.VerifyAll();
        }