    001    /*****************************************************************************
    002     * Copyright (C) PicoContainer Organization. All rights reserved.            *
    003     * ------------------------------------------------------------------------- *
    004     * The software in this package is published under the terms of the BSD      *
    005     * style license a copy of which has been included with this distribution in *
    006     * the LICENSE.txt file.                                                     *
    007     *                                                                           *
    008     * Original code by                                                          *
    009     *****************************************************************************/
    010    package org.picocontainer.behaviors;
    011
    012    import org.picocontainer.BehaviorFactory;
    013    import org.picocontainer.ComponentAdapter;
    014
    015    /** @author Paul Hammant */
    016    public final class LockedTestCase extends SynchronizedTestCase {
    017
    018        protected ComponentAdapter makeComponentAdapter(ComponentAdapter componentAdapter) {
    019            return new Locked(componentAdapter);
    020        }
    021
    022        protected BehaviorFactory makeBehaviorFactory() {
    023            return new Locking();
    024        }
    025
    026
    027    }