DZone

Virtually all enterprise applications use data and require communication with databases and hence some kind of persistence layer implementation. Provided having permanently increasing requirements for application availability and flexibility, it becomes critical to have the possibility to test the persistence layer quickly and effectively.

Suppose we are to implement a login management system. According to the specifications, it should be implemented as a microservice and provide a possibility to retrieve login information from the underlying database.

Source: DZone