Core Java
-
XPath concat Example
We studied about Xpath normalize-space() method in the previous example. In this example, we will study how the concat(String s1,…
Read More » -
Mockito Verify Example
In this article, I am going to show you an example of Mockito Verify. To test the state, we use…
Read More » -
java.io.Console: New Feature in Java 6
System.console() method is used for getting a unique instance of the Class Java.io.Console. Console device is associated with current Java…
Read More » -
XPath normalize-space example
In this example, we will talk about the normalize-space method in XPath. The normalize-space(String s) method is used to normalize…
Read More » -
Mockito void Method Example
In Mockito Hello World Example, we have learnt how to stub a non-void method that returns something. Sometimes we may…
Read More » -
Mockito Spy Example
In this article, I am going to show you an example of Mockito Spy calls. There are times when we…
Read More » -
XPath substring example
In this example, we will try to see how we can use the sub-string method in the XPath for our…
Read More » -
Mockito Hello World Example
You are here, it means either you are interested in the mock objects or you are already aware of Mockito,…
Read More » -
Gradle Properties: Build and Configuration Example
In this detailed Gradle Properties tutorial, we shall see how to access several default properties in Gradle, and how to…
Read More » -
XPath preceding-sibling example
In this example we will learn how to use the preceding-sibling function of XPath. We will start with the introduction of…
Read More »