In this article Java Unit Tests make easy — Random Values with PODAM, we discuss how to generate random values to object, collections we use on Junit test using PODAM library.

When we write unit test cases for functions, a big headache for developers is filling mock data to our objects, collections etc.

For example, let see what would be the test case to fetch an object from a function.

Please look below code snippet. In this object contains the list of child objects too.

In this code snippet, we can see a lot of hardcode data we have…


In this article, we are discussing the Software Component Cohesion.

This is the 13th article on the System Design and Software Architecture series. In this article, we are discussing the Software Component Cohesion.

Previous articles

What is a Software Component Cohesion?

Principles of component cohesion help developers to determine how to divide the class into components. These principles depend on the fact that at least some classes and their interrelationships have been found. Thus, these principles take a downward view of partitioning.

Reuse / Release Equality Principle (REP)

REP states that reusable granules, a component that is not smaller than release granules. Anything we reuse should need to release and pursued. It is unrealistic for a developer to simply write a class and say…


In this article, we are discussing the sub-topic of the design principle , DIP: Dependency Inversion Principle.

This is the 11th article on the System Design and Software Architecture series. In this article, we are discussing the sub-topic of the design principle, DIP: Dependency Inversion Principle.

Previous articles

What is The Dependency Inversion Principle?


In this article, we are discussing the Core objectives and components of Design Principles is an important section in System design and architecture.

This is the 7th article on the System Design and Software Architecture series. In this article, we are discussing the Core objectives and components of Design Principles is an important section in System design and architecture.

Previous articles

Introduction To Design Principles


In this article, we are discussing the Core objectives and components of Functional programming is an important section in System design and architecture.

This is the 6th article on the System Design and Software Architecture series. In this article, we are discussing the Core objectives and components of Functional programming is an important section in System design and architecture.

Originally published at https://onloadcode.com.

Previous articles

What is Functional programming

Maduka Jayawardana

I’m passionate about continuously learning and exploring new technologies, which will enhance my expertise status. Currently, I'm working as a Technical Lead.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store