Package org.eurekastreams.server.persistence.mappers.db

Examples of org.eurekastreams.server.persistence.mappers.db.GetReadOnlyStreamsDbMapper


     * Setup fixtures.
     */
    @Before
    public final void load()
    {
        GetReadOnlyStreamsDbMapper readonlyStreamsMapper = new GetReadOnlyStreamsDbMapper();
        (readonlyStreamsMapper).setEntityManager(getEntityManager());

        List<String> streamNames = new ArrayList<String>(CollectionUtils.asList("Everyone", "My saved items",
                "Following"));

View Full Code Here


                will(returnValue(null));
            }
        });

        // new SUT to test different stream order
        GetReadOnlyStreamsDbMapper readonlyStreamsMapper = new GetReadOnlyStreamsDbMapper();
        (readonlyStreamsMapper).setEntityManager(getEntityManager());
        List<String> streamNames = new ArrayList<String>(CollectionUtils.asList("My saved items", "Everyone"));

        PersonCreator localSut = new PersonCreator(personMapperMock, readonlyStreamsMapper, streamNames, ppg);
View Full Code Here

                will(returnValue(null));
            }
        });

        // new SUT to test different stream order
        GetReadOnlyStreamsDbMapper readonlyStreamsMapper = new GetReadOnlyStreamsDbMapper();
        (readonlyStreamsMapper).setEntityManager(getEntityManager());
        List<String> streamNames = new ArrayList<String>(CollectionUtils.asList("My saved items", "Everyone"));

        PersonCreator localSut = new PersonCreator(personMapperMock, readonlyStreamsMapper, streamNames, ppg);
View Full Code Here

                will(returnValue(null));
            }
        });

        // new SUT to test different stream order
        GetReadOnlyStreamsDbMapper readonlyStreamsMapper = new GetReadOnlyStreamsDbMapper();
        (readonlyStreamsMapper).setEntityManager(getEntityManager());
        List<String> streamNames = new ArrayList<String>(CollectionUtils.asList("My saved items", "Everyone"));

        PersonCreator localSut = new PersonCreator(personMapperMock, readonlyStreamsMapper, streamNames, ppg);
View Full Code Here

     *             not expected
     */
    @Test
    public final void testPersistFromDB() throws Exception
    {
        GetReadOnlyStreamsDbMapper readonlyStreamsMapper = new GetReadOnlyStreamsDbMapper();
        (readonlyStreamsMapper).setEntityManager(getEntityManager());
        List<String> streamNames = new ArrayList<String>(CollectionUtils.asList("My saved items", "Everyone"));

        sut = new PersonCreator(personMapper, readonlyStreamsMapper, streamNames, ppg);

View Full Code Here

TOP

Related Classes of org.eurekastreams.server.persistence.mappers.db.GetReadOnlyStreamsDbMapper

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.