Project in which abstract factory pattern implemented using java for a makeshift diagnostic test.