Package rabbit.data.access.model

Examples of rabbit.data.access.model.ISessionData


    ICategory[] categories = {Category.WORKSPACE, Category.DATE};
    List<TreePath> expected = asList(
        newPath(ws, date, duration),
        newPath(ws2, date2, duration2));

    ISessionData data2 = mock(ISessionData.class);
    given(data2.get(ISessionData.DATE)).willReturn(date2);
    given(data2.get(ISessionData.DURATION)).willReturn(duration2);
    given(data2.get(ISessionData.WORKSPACE)).willReturn(ws2);

    ICategoryProvider provider = mock(ICategoryProvider.class);
    given(provider.getSelected()).willReturn(asList(categories));
    ITreePathBuilder builder = create(provider);
View Full Code Here

TOP

Related Classes of rabbit.data.access.model.ISessionData

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.