### Question:
CSSImportRule implements ICSSWriteable, ICSSSourceLocationAware { @Nonnull @Nonempty public String getAsCSSString (@Nonnull final ICSSWriterSettings aSettings, @Nonnegative final int nIndentLevel) { final boolean bOptimizedOutput = aSettings.isOptimizedOutput (); final StringBuilder aSB = new StringBuilder (); aSB.append ("@import ").append (m_aLocation.getAsCSSString (aSettings, nIndentLevel)); if (!m_aMediaQueries.isEmpty ()) { aSB.append (' '); boolean bFirst = true; for (final CSSMediaQuery aMediaQuery : m_aMediaQueries) { if (bFirst) bFirst = false; else aSB.append (bOptimizedOutput ? "," : ", "); aSB.append (aMediaQuery.getAsCSSString (aSettings, nIndentLevel)); } } return aSB.append (';').append (aSettings.getNewLineString ()).toString (); } CSSImportRule(@Nonnull final String sLocation);  CSSImportRule(@Nonnull final CSSURI aLocation); boolean hasMediaQueries(); @Nonnegative int getMediaQueryCount(); @Nonnull CSSImportRule addMediaQuery(@Nonnull final CSSMediaQuery aMediaQuery); @Nonnull CSSImportRule addMediaQuery(@Nonnegative final int nIndex, @Nonnull final CSSMediaQuery aMediaQuery); @Nonnull EChange removeMediaQuery(@Nullable final CSSMediaQuery aMediaQuery); @Nonnull EChange removeMediaQuery(final int nMediumIndex); @Nonnull EChange removeAllMediaQueries(); @Nonnull @ReturnsMutableCopy ICommonsList <CSSMediaQuery> getAllMediaQueries(); @Nonnull CSSURI getLocation(); @Nonnull @Nonempty String getLocationString(); @Nonnull final CSSImportRule setLocation(@Nonnull final CSSURI aLocation); @Nonnull CSSImportRule setLocationString(@Nonnull final String sLocationURI); @Nonnull @Nonempty String getAsCSSString(@Nonnull final ICSSWriterSettings aSettings, @Nonnegative final int nIndentLevel); void setSourceLocation(@Nullable final CSSSourceLocation aSourceLocation); @Nullable CSSSourceLocation getSourceLocation(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testCreate () { final CSSImportRule aImportRule = new CSSImportRule ("a.gif"); final CSSWriterSettings aSettings = new CSSWriterSettings (ECSSVersion.CSS30, false); assertEquals ("@import url(a.gif);\n", aImportRule.getAsCSSString (aSettings)); aSettings.setQuoteURLs (true); assertEquals ("@import url('a.gif');\n", aImportRule.getAsCSSString (aSettings)); }