Blog: how to do in java |
235 blogs
updated: 87 min. ago
|
||
Learn to mock the static methods (in and outside the scope) using Mockito in unit testing in Java using MockedStatic class. The post Mock St...
|
||
Learn to create and inject mocks, record expectations, verifications, and argument matching using the JMockit in JUnit tests with examples. ...
|
||
Learn to use EasyMock with JUnit 4 and 5 to create test mocks, record and replay the expectations and verify method invocations on mocks. Th...
|
||
Learn to use MockWebServer to mock APIs, later consume these API in JUnit tests using WebClient, verifying responses and servers stats. The ...
|
||
Learn to use @PropertySource, @Value and @ConfigurationProperties annotations to register property files and inject configuration properties...
|
||
Learn about Spring profiles, @Profile, profile-specific beans and properties, profile groups and activating a certain profile during startup...
|
||
The microservices architecture allows us to develop, test and deploy different components of an application independently. Though such a com...
|
||
Learn to enable DEBUG and TRACE level logging for spring security configuration, request processing and filter chain proxy using simple swit...
|
||
Learn to partially or fully disable the Spring security in Spring boot applications based on selected runtime @Profile or using properties. ...
|
||
Learn to configure OAuth2 authorization-based login security in a Spring boot and spring security application with custom handlers. The post...
|
||
Made better & faster using https://www.yourkit.com/ Java Profiler