void function ( ) { mManager = Mockito . mock ( TransferManager . class ) ; Upload loc0 = Mockito . mock ( Upload . class ) ; Mockito . when ( mManager . upload ( Mockito . any ( PutObjectRequest . class ) ) ) . thenReturn ( loc0 ) ; mStream = new S3ADirectOutputStream ( BUCKET_NAME , KEY , mManager ) ; }
sets the properties and configuration before each test runs . concode_field_sep TransferManager mManager concode_elem_sep String BUCKET_NAME concode_elem_sep String KEY concode_elem_sep S3ADirectOutputStream mStream concode_field_sep void close