package Ġcom . config set . client Ċ Ċ import Ġcom . config set . client . converter . Converters Ċ import Ġorg . am sh ove . k lu ent . shouldBe EqualTo Ċ import Ġorg . junit . Test Ċ Ċ class ĠLocal Configuration Registry Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Read Properties () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġregistry Ġ= ĠConfiguration Registry Factory . getConfiguration ( Configuration Transport . Local Classpath ("/ configuration . properties ")) ĊĊĠĠĠĠĠĠĠ Ġval Ġsome App Configuration Ġ= Ġregistry . getConfiguration (" some App ") ĊĠĠĠĠĠĠĠ Ġsome App Configuration . get Conf Property (" billing Url ", ĠConverter s . STRING ). getValue () ĠshouldBe EqualTo Ġ" https :// billing url . com " ĊĠĠĠĠĠĠĠ Ġsome App Configuration . get Conf Property (" target Price ", ĠConverter s . STRING ). getValue () ĠshouldBe EqualTo Ġ" 5 " ĊĠĠĠĠĠĠĠ Ġsome App Configuration . get Conf Property (" service . update Time ", ĠConverter s . STRING ). getValue () ĠshouldBe EqualTo Ġ" 1 0 ms " ĊĊĠĠĠĠĠĠĠ Ġregistry . getConfiguration (" some Other App "). get Conf Property (" retries Count ", ĠConverter s . INTEGER ). getValue () ĠshouldBe EqualTo Ġ 3 ĊĠĠĠ Ġ} Ċ }