### Question:
LimitOffsetStage implements TranslationStage { @Override public void perform(TranslatorContext context) { if(context.isDistinctSuppression()) { return; } int offset = context.getMetadata().getFetchOffset(); int limit = context.getMetadata().getFetchLimit(); context.getSelectBuilder().limitOffset(limit, offset); }  @Override void perform(TranslatorContext context);  }### Answer:
@Test public void perform() { LimitOffsetStage stage = new LimitOffsetStage(); stage.perform(context); Node select = context.getSelectBuilder().build(); Node child = select.getChild(0); assertThat(child, instanceOf(LimitOffsetNode.class)); LimitOffsetNode limitOffsetNode = (LimitOffsetNode) child; assertEquals(123, limitOffsetNode.getLimit()); assertEquals(321, limitOffsetNode.getOffset()); }