### Question:
CSSRGBA implements ICSSWriteable, ICSSColor, ICloneable <CSSRGBA> { @Nonnull @Nonempty public String getAsCSSString (@Nonnull final ICSSWriterSettings aSettings, @Nonnegative final int nIndentLevel) { return getAsString (); } CSSRGBA(@Nonnull final CSSRGBA aOther);  CSSRGBA(@Nonnull final CSSRGB aOther, final float fOpacity);  CSSRGBA(@Nonnull final CSSRGB aOther, @Nonnull @Nonempty final String sOpacity);  CSSRGBA(final int nRed, final int nGreen, final int nBlue, final float fOpacity);  CSSRGBA(@Nonnull @Nonempty final String sRed,
                  @Nonnull @Nonempty final String sGreen,
                  @Nonnull @Nonempty final String sBlue,
                  @Nonnull @Nonempty final String sOpacity); @Nonnull @Nonempty String getRed(); @Nonnull CSSRGBA setRed(@Nonnull @Nonempty final String sRed); @Nonnull @Nonempty String getGreen(); @Nonnull CSSRGBA setGreen(@Nonnull @Nonempty final String sGreen); @Nonnull @Nonempty String getBlue(); @Nonnull CSSRGBA setBlue(@Nonnull @Nonempty final String sBlue); @Nonnull @Nonempty String getOpacity(); @Nonnull CSSRGBA setOpacity(@Nonnull @Nonempty final String sOpacity); @Nonnull CSSRGB getAsRGB(); @Nonnull @Nonempty String getAsString(); @Nonnull @Nonempty String getAsCSSString(@Nonnull final ICSSWriterSettings aSettings, @Nonnegative final int nIndentLevel); @Nonnull CSSRGBA getClone(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testBasic () { final CSSWriterSettings aSettings = new CSSWriterSettings (ECSSVersion.CSS30, false); final CSSRGBA aColor = new CSSRGBA (1, 2, 3, 0.5f); assertEquals ("rgba(1,2,3,0.5)", aColor.getAsCSSString (aSettings)); CommonsTestHelper.testDefaultImplementationWithEqualContentObject (aColor, new CSSRGBA (aColor)); CommonsTestHelper.testDefaultImplementationWithEqualContentObject (aColor, new CSSRGBA (1, 2, 3, 0.5f)); CommonsTestHelper.testDefaultImplementationWithDifferentContentObject (aColor, new CSSRGBA (0, 2, 3, 0.5f)); CommonsTestHelper.testDefaultImplementationWithDifferentContentObject (aColor, new CSSRGBA (1, 0, 3, 0.5f)); CommonsTestHelper.testDefaultImplementationWithDifferentContentObject (aColor, new CSSRGBA (1, 2, 0, 0.5f)); CommonsTestHelper.testDefaultImplementationWithDifferentContentObject (aColor, new CSSRGBA (1, 2, 3, 0f)); }