private void ensureKeywordsAreLocalisedFor(Locale locale) throws IOException {
ensureKeywordsAreLocalisedFor(locale, null);
}
private void ensureKeywordsAreLocalisedFor(Locale locale, String bundleName) throws IOException {
Keywords keywords = keywordsFor(locale, bundleName, null);
Properties properties = bundleFor(locale);
ensureKeywordIs(properties, META, keywords.meta());
ensureKeywordIs(properties, META_PROPERTY, keywords.metaProperty());
ensureKeywordIs(properties, NARRATIVE, keywords.narrative());
ensureKeywordIs(properties, IN_ORDER_TO, keywords.inOrderTo());
ensureKeywordIs(properties, AS_A, keywords.asA());
ensureKeywordIs(properties, I_WANT_TO, keywords.iWantTo());
ensureKeywordIs(properties, SCENARIO, keywords.scenario());
ensureKeywordIs(properties, GIVEN_STORIES, keywords.givenStories());
ensureKeywordIs(properties, EXAMPLES_TABLE, keywords.examplesTable());
ensureKeywordIs(properties, EXAMPLES_TABLE_ROW, keywords.examplesTableRow());
ensureKeywordIs(properties, EXAMPLES_TABLE_HEADER_SEPARATOR, keywords.examplesTableHeaderSeparator());
ensureKeywordIs(properties, EXAMPLES_TABLE_VALUE_SEPARATOR, keywords.examplesTableValueSeparator());
ensureKeywordIs(properties, EXAMPLES_TABLE_IGNORABLE_SEPARATOR, keywords.examplesTableIgnorableSeparator());
ensureKeywordIs(properties, GIVEN, keywords.given());
ensureKeywordIs(properties, WHEN, keywords.when());
ensureKeywordIs(properties, THEN, keywords.then());
ensureKeywordIs(properties, AND, keywords.and());
ensureKeywordIs(properties, IGNORABLE, keywords.ignorable());
ensureKeywordIs(properties, PENDING, keywords.pending());
ensureKeywordIs(properties, NOT_PERFORMED, keywords.notPerformed());
ensureKeywordIs(properties, FAILED, keywords.failed());
}