Package org.candlepin.resource

Examples of org.candlepin.resource.GuestIdResource


    public void setUp() {
        i18n = I18nFactory.getI18n(getClass(), Locale.US, I18nFactory.FALLBACK);
        owner = new Owner("test-owner", "Test Owner");
        ct = new ConsumerType(ConsumerTypeEnum.SYSTEM);
        consumer = new Consumer("consumer", "test", owner, ct);
        guestIdResource = new GuestIdResource(guestIdCurator,
            consumerCurator, consumerResource, i18n, eventFactory, sink);
        when(consumerCurator.findByUuid(consumer.getUuid())).thenReturn(consumer);
        when(consumerCurator.verifyAndLookupConsumer(
            consumer.getUuid())).thenReturn(consumer);
    }
View Full Code Here

TOP

Related Classes of org.candlepin.resource.GuestIdResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.