[Java] Interface MockEngine