import Ġcom . intellij . openapi . components . Service Manager Ċ import Ġde . c aw olf . quick mock . Settings Ċ Ċ class ĠMock Creation Test : ĠBaseTest () Ġ{ ĊĠĠĠ Ġfun Ġtest Mocks Objects () Ġ{ ĊĠĠĠĠĠĠĠ Ġassert Quick Mock Creation Work sWith (" mocks - objects ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtest Mocks Arrays () Ġ{ ĊĠĠĠĠĠĠĠ Ġassert Quick Mock Creation Work sWith (" mocks - arrays ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtest Mocks Ints () Ġ{ ĊĠĠĠĠĠĠĠ Ġassert Quick Mock Creation Work sWith (" mocks - ints ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtest Mocks Float s () Ġ{ ĊĠĠĠĠĠĠĠ Ġassert Quick Mock Creation Work sWith (" mocks - float s ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtest Mocks Bool s () Ġ{ ĊĠĠĠĠĠĠĠ Ġassert Quick Mock Creation Work sWith (" mocks - bool s ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtest Mocks Strings () Ġ{ ĊĠĠĠĠĠĠĠ Ġassert Quick Mock Creation Work sWith (" mocks - strings ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtest Mocks Mixed s () Ġ{ ĊĠĠĠĠĠĠĠ Ġassert Quick Mock Creation Work sWith (" mocks - mixed s ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtest Mocks Objects Without Doc Block () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġsettings Ġ= ĠService Manager . getService ( Settings :: class . java ) ĊĠĠĠĠĠĠĠ Ġsettings . add Doc Block For Members Ġ= Ġfalse ĊĠĠĠĠĠĠĠ Ġassert Quick Mock Creation Work sWith (" mocks - objects - without - doc - block ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtest Mocks Multiple Parameters () Ġ{ ĊĠĠĠĠĠĠĠ Ġassert Quick Mock Creation Work sWith (" mocks - multiple - parameters ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtest Dont Re generate Existing Mocks () Ġ{ ĊĠĠĠĠĠĠĠ Ġassert Quick Mock Creation Work sWith (" dont - regener ate - existing - mocks ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtest Mocks Aliases () Ġ{ ĊĠĠĠĠĠĠĠ Ġassert Quick Mock Creation Work sWith (" mocks - aliases ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtest Mocks Existing Properties With Suffix () Ġ{ ĊĠĠĠĠĠĠĠ Ġsetup Scenario ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ" mocks - existing - properties - with - suffix / Subject Test . php ", ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠlistOf (" mocks - existing - properties - with - suffix / Subject UnderTest . php ", Ġ" mocks - existing - properties - with - suffix / TestCase . php ") ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġassert Int ention Is Available () ĊĠĠĠĠĠĠĠ Ġexecute Int ention () ĊĠĠĠĠĠĠĠ Ġassert Result Matches (" mocks - existing - properties - with - suffix / Subject Test . php . expected ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtest Mocks Doc BlockType Hint ed Arrays () Ġ{ ĊĠĠĠĠĠĠĠ Ġassert Quick Mock Creation Work sWith (" mocks - doc - block - type - hint ed - arrays ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġtest Mocks Construct ors In Abstract Classes () Ġ{ ĊĠĠĠĠĠĠĠ Ġsetup Scenario ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ" mocks - constructor - in - abstract - class / Subject Test . php ", ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠlistOf (" mocks - constructor - in - abstract - class / Subject UnderTest . php ", Ġ" mocks - constructor - in - abstract - class / Abstract Class . php ") ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġassert Int ention Is Available () ĊĠĠĠĠĠĠĠ Ġexecute Int ention () ĊĠĠĠĠĠĠĠ Ġassert Result Matches (" mocks - constructor - in - abstract - class / Subject Test . php . expected ") ĊĠĠĠ Ġ} Ċ }