Typescript Create Mock Object From Interface Meaning Java