'Decorate time.time() for the purpose of testing mocking
@return time.time() if setTime was called with None'

@staticmethod
def time():

    if (MyTime.myTime is None):
        return time.time()
    else:
        return MyTime.myTime
