java - Is it possible to disable Spring's @Async during unit test? -
i have method annotated @async say
@async public void makefood() {} but i'm trying test logic of method. possible test synchronously?
yes, long configuration not have @enableasync, method executed synchronously.
Comments
Post a Comment