package Ġcom . f ager land . bro time Ċ Ċ import Ġcom . f ager land . bro time . dto . requests . User DTO Ċ import Ġcom . f ager land . bro time . services . UserService Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . boot . CommandLine Runner Ċ import Ġorg . springframework . boot . autoconfigure . SpringBoot Application Ċ import Ġorg . springframework . boot . run Application Ċ import Ġorg . springframework . context . annotation . Profile Ċ import Ġorg . springframework . stereotype . Component Ċ Ċ @ SpringBoot Application Ċ class ĠBro time Application Ċ Ċ fun Ġmain ( args : ĠArray < String >) Ġ{ Ċ ĉ run Application < Bro time Application >(* args ) Ċ } ĊĊ Ċ @ Component Ċ @ Profile (" test ") Ċ class ĠTest Data Runner Ġ( Ċ ĉ @ Autowired Ġval ĠuserService : ĠUserService Ċ ) Ġ: ĠCommandLine Runner Ġ{ ĊĊ ĉ override Ġfun Ġrun ( var arg Ġargs : ĠString ?) Ġ{ Ċĉ ĉ val Ġtest User Ġ= ĠUser DTO (" test User ", Ġ" test Password ") Ċĉ ĉ userService . register User ( test User ) Ċ ĉ } Ċ } Ċ