@Test
public void variableMinSdkVersionDefaultsToDefaultvalue() throws Exception {

  File buildFile = TestUtils.getTestDataFile(VARIABLE_MINSDK_BUILD_FILE);
  int defaultMinSdkVersion = 345;
  String content = Files.asCharSource(buildFile, UTF_8).read();
  GradleContext context =
      GroovyGradleParser.parseGradleBuildFile(content, defaultMinSdkVersion, null).build();
  assertThat(context.getMinSdkVersion()).isEqualTo(defaultMinSdkVersion);
}