Tag Archives: Java

Verify method was called n-times with Mockito

Mockito Verify example for n-times calls using various verification modes. Continue reading

Posted in Testing | Tagged , , , | Leave a comment

How to check if two lists are equal in Java

A short article focused on a widespread problem in testing if two list instances are identical, or rather say if they contain the same elements in the same order. Continue reading

Posted in Testing | Tagged , , , , | Leave a comment

How to convert a Map to an Array in Java

This tutorial is about several approaches to converting Java’s Map interface implementations into the Java array. Continue reading

Posted in Language basics | Tagged , , , , , , , | Leave a comment

How to sort a map with Java 8

This tutorial shows how to sort Java Map implementations with Java 8 streams by map’s key or value properties. Continue reading

Posted in Tutorials | Tagged , , , , , , | Leave a comment

How to load files from Spring JUnit test resources folder

In this short tutorial you will see how to read the files from the /src/test/resources test directory path in your Spring application. Continue reading

Posted in Tutorials | Tagged , , , , , , , | Leave a comment

How to remotely debug Java application in IntelliJ

This article is a simple tutorial on how to debug your JAR or WAR file remotely. Continue reading

Posted in Tips & tricks | Tagged , , , , , , , , , , , , , , | Leave a comment

How to trigger action with Scheduler and Quartz in Camel

This article is about triggering action with Scheduler and Quartz components in Camel Continue reading

Posted in Tutorials | Tagged , , , , , , , , | Leave a comment

How to download a file from Azure Claud Storage

In this article, we will look into the way how to download a file from Azure Cloud Storage for legacy API Continue reading

Posted in Tutorials | Tagged , , , , , , , , , , , , , | 1 Comment

Bit manipulation operators in Java

Java offers a possibility for bit manipulation with bit operators in its code. This article will go through all the operators with real-life examples and explanation. Continue reading

Posted in Language basics | Tagged , , | 1 Comment

How to use IntStream range in Java

This article talks about the average use case of loop count variable usage via IntStream API Continue reading

Posted in Language basics | Tagged , , , , | Leave a comment