public void ConditionalExpression_OfGenericType_EvaluatesToPassExpression_WithValue_OfGivenType_OnTrueCondition_Test() { //Arrange var conditionalExpression = new ConditionalExpression <IType, IContext>(new ConstantBool <IContext>(true), new ConstantExpression <IType, IContext>(_typeObject1), new ConstantExpression <IType, IContext>(_typeObject2)); //Act var sut = conditionalExpression.Interpret(_context); //Assert Assert.Equal(_typeObject1, sut); }