Method adapts in Production Junit