Created a StubCondition class