public int MethodWithReturnValueNoParameters() { MethodWithReturnValueNoParametersWasCalled = true; return 42; }