EN VI
Posts (0)
Questions (2)
2024-03-12 23:00:04
lance-java's suggestions would work, but they are quite cumbersome. I would suggest defining a method like this: public static LinkedList linkedList(String... values) { return new LinkedList(List.of...
Tags: java arrays junit
2024-03-13 17:30:05
you are mocking wrong methods here (always it's isTraceEnabled but should be different for different levels): switch (level) { case TRACE -> given(log.isTraceEnabled()).willReturn(...
Tags: java junit mockito

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login