@Test
public void testMakeUniformBindings() throws Exception {

  final GlslShaderJob job = new GlslShaderJob(
      Optional.empty(),
      new PipelineInfo(JSON_NO_BINDINGS),
      ParseHelper.parse(getShaderFile("vert", VERT_SHADER_NO_BINDINGS)),
      ParseHelper.parse(getShaderFile("frag", FRAG_SHADER_NO_BINDINGS)));
  job.makeUniformBindings(Optional.empty());
  CompareAsts.assertEqualAsts(VERT_SHADER_WITH_BINDINGS, job.getVertexShader().get());
  CompareAsts.assertEqualAsts(FRAG_SHADER_WITH_BINDINGS, job.getFragmentShader().get());
  assertEquals(new PipelineInfo(JSON_WITH_BINDINGS).toString(), job.getPipelineInfo().toString());
}