package Ġnet . cord a . de mob ench . model Ċ Ċ import Ġkotlin . test .* Ċ import Ġorg . junit . Test Ċ Ċ class ĠService Controller Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġempty `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġcontroller Ġ= ĠService Controller ("/ empty - services . conf ") ĊĠĠĠĠĠĠĠ ĠassertNotNull ( controller . services ) ĊĠĠĠĠĠĠĠ ĠassertTrue ( controller . services . isEmpty ()) ĊĊĠĠĠĠĠĠĠ ĠassertNotNull ( controller . not aries ) ĊĠĠĠĠĠĠĠ ĠassertTrue ( controller . not aries . isEmpty ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġduplicates `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġcontroller Ġ= ĠService Controller ("/ duplicate - services . conf ") ĊĠĠĠĠĠĠĠ ĠassertNotNull ( controller . services ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( listOf (" cord a . example "), Ġcontroller . services ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġnot aries `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġcontroller Ġ= ĠService Controller ("/ not ary - services . conf ") ĊĠĠĠĠĠĠĠ ĠassertNotNull ( controller . not aries ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( listOf (" cord a . not ary . simple "), Ġcontroller . not aries ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġservices `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġcontroller Ġ= ĠService Controller () ĊĠĠĠĠĠĠĠ ĠassertNotNull ( controller . services ) ĊĠĠĠĠĠĠĠ ĠassertTrue ( controller . services . isNotEmpty ()) ĊĊĠĠĠĠĠĠĠ ĠassertNotNull ( controller . not aries ) ĊĠĠĠĠĠĠĠ ĠassertTrue ( controller . not aries . isNotEmpty ()) ĊĠĠĠ Ġ} Ċ Ċ }