Pixels p = new Pixels(pixelsId);
Pixels p = new Pixels(); p.setId(pixelsId);
    protected Pixels createPixelGraph(Long pixelsId)    {        // TODO put this into ome.testing.ObjectFactory        PIType pi = new PIType();        pi.setValue("test");            AcquisitionContext ac = new AcquisitionContext();        ac.setPhotometricInterpretation(pi);            Channel c = new Channel();        c.setIndex(1);            Pixels p = new Pixels(pixelsId);        p.setSizeX(new Integer(1));        p.setSizeY(new Integer(1));        p.setSizeZ(new Integer(1));        p.setSizeC(new Integer(1));        p.setSizeT(new Integer(1));        p.setSha1("09bc7b2dcc9a510f4ab3a40c47f7a4cb77954356"); // "pixels"        p.setAcquisitionContext(ac);        p.setChannels(new HashSet());        p.getChannels().add(c);            c.setPixels(p);                p.setDetails(new Details());        return p;    }