replay(featureBundle);
return featureBundle;
}
private ApiDirective mockApiDirective(boolean isExports, String value) {
ApiDirective result = createMock(ApiDirective.class);
expect(result.getType()).andReturn(ApiDirective.Type.JS).anyTimes();
expect(result.getValue()).andReturn(value).anyTimes();
expect(result.isExports()).andReturn(isExports).anyTimes();
replay(result);
return result;
}