You are here:Home-Tag: java

Introducing lambda expressions for functional programming in Java

Introducing lambda expressions for functional programming in Java In this article we'll take a look at lambda expressions - the powerhouse behind Java's functional programming! Format of Lambda Expressions The syntax of lambda expressions is very intuitive, easy to understand and apply. A lambda expression is made up of: input parameters arrow operator expression/statements block

By |2020-07-13T21:14:55+00:00July 13th, 2020|Categories: Articles, Tutorials|Tags: , , , |Comments Off on Introducing lambda expressions for functional programming in Java

Creating Mocks and Setting up Mockito Unit Tests

Creating Mocks and Setting up Mockito Unit Tests Overview You can create mocks either by using the API or by annotation You set up Mockito based unit tests by either using the Mcokito JUnit runner, including a JUnit 4 rule or by the API Creating Mocks Creating mocks programmatically You can create mocks programmatically by

By |2020-07-13T20:48:34+00:00July 13th, 2020|Categories: Articles, Tutorials|Tags: , , , , |Comments Off on Creating Mocks and Setting up Mockito Unit Tests