@Override
    public List<Input> all() {
        final List<DBObject> ownInputs = query(InputImpl.class, new BasicDBObject());

        final ImmutableList.Builder<Input> inputs = ImmutableList.builder();
        for (final DBObject o : ownInputs) {
            inputs.add(createFromDbObject(o));
        }

        return inputs.build();
    }
@Test
    @MongoDBFixtures("InputServiceImplTest.json")
    public void allReturnsAllInputs() {
        final List<Input> inputs = inputService.all();
        assertThat(inputs).hasSize(3);
    }