Added optional parameter on AutoMocker to define the default behavior