package Ġch . d ifty . sc ip am ato . core . logic . parsing Ċ Ċ import Ġch . d ifty . sc ip am ato . core . config . Application Core Properties Ċ import Ġio . mock k . every Ċ import Ġio . mock k . mock k Ċ import Ġio . mock k . verify Ċ import Ġorg . am sh ove . k lu ent . shouldBe InstanceOf Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ internal Ġclass ĠAuthor Parser Configuration Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcan Retrieve Author Parser Factory () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġconf Ġ= ĠAuthor Parser Configuration () ĊĠĠĠĠĠĠĠ Ġval Ġapp Properties Ġ= Ġmock k < Application Core Properties > Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġevery Ġ{ Ġauthor Parser Strategy Ġ} Ġreturns ĠAuthor Parser Strategy . PUB MED ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġval Ġfactory Ġ= Ġconf . author Parser Factory ( app Properties ) ĊĠĠĠĠĠĠĠ Ġfactory ĠshouldBe InstanceOf ĠAuthor Parser Factory :: class ĊĠĠĠĠĠĠĠ Ġverify Ġ{ Ġapp Properties . author Parser Strategy Ġ} ĊĠĠĠ Ġ} Ċ } Ċ