package Ġcom . x ur x ode v . multi platform . library Ċ Ċ import Ġkotlin . test . Test Ċ import Ġkotlin . test . assertEquals Ċ Ċ class ĠD 2 Api Should Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcreate _ d 2 api _ successfully _ via _ constructor () Ġ{ ĊĊĠĠĠĠĠĠĠ Ġval Ġsome Url Ġ= Ġ" https :// some url . com " ĊĠĠĠĠĠĠĠ Ġval Ġsome Credentials Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ ĠD 2 Credentials (" some Ġusername ", Ġ" some Ġpassword ") ĊĊĠĠĠĠĠĠĠ Ġval Ġd 2 Api Ġ= ĠD 2 Api ( some Url , Ġsome Credentials ) ĊĊĠĠĠĠĠĠĠ ĠassertEquals ( some Url , Ġd 2 Api . url Base ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( some Credentials , Ġd 2 Api . credentials ) ĊĠĠĠ Ġ} Ċ }