fixed doctrine manager registry interface mock
replaced form builder with factory trait