<s> import unittest <EOL> from openmdao . main . api import Assembly , set_as_top <EOL> from openmdao . test . rosen_suzuki import Simulation , ScalingPreProc , ScalingPostProc <EOL> from openmdao . lib . drivers . slsqpdriver import SLSQPdriver <EOL> class Replace2TestCase ( unittest . TestCase ) : <EOL> def test_replace2 ( self ) : <EOL> top = set_as_top ( Simulation ( ) ) <EOL> top . replace ( '<STR_LIT>' , ScalingPreProc ( ) ) <EOL> top . replace ( '<STR_LIT>' , ScalingPostProc ( ) ) <EOL> top . replace ( '<STR_LIT>' , SLSQPdriver ( ) ) <EOL> top . replace ( '<STR_LIT>' , Assembly ( ) ) <EOL> top . _setup ( ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> unittest . main ( ) </s>
