OKW_Helper { public static String Boolean2String( Boolean fpbTrueOrFalse ) { String lvsReturn = ""; Log.LogFunctionStartDebug("OKW_Helper.Boolean2String", "fpbTrueOrFalse", fpbTrueOrFalse.toString()); try { if (fpbTrueOrFalse) { lvsReturn = "true"; } else { lvsReturn = "false"; } } finally { Log.LogFunctionEndDebug(lvsReturn); } return lvsReturn; }  static String Boolean2String( Boolean fpbTrueOrFalse ); static String getLeftFromDelimiterNumber( String fpsSource, String fpsDelimiter, Integer fpiCount ); static String getRightFromDelimiterNumber( String fpsSource, String fpsDelimiter, Integer fpiCount ); static Boolean compareListString( List<String> ListString1, List<String> ListString2 ); static String concatListString( ArrayList<String> fps_ListString2Concat, String fps_Delimiter ); static Boolean matchString( String fpsPattern, String fpsStringToMatch ); static Boolean matchStrIgnoreCase( String fpsPattern, String fpsStringToMatch ); static String removeBeginEndQuotations( String fps_StringinQuotations ); static ArrayList<String> StringArray2ListStr( String[] fpsStringArray ); static Boolean String2Boolean( String fpsTrueOrFalse ); static ArrayList<String> splitString(String fpsString2Split, String fpsSeparator); static String repeatString( char c, Integer n ); static String repeatString( String c, Integer n ); static Boolean isStringNullOrEmpty( String fpsString);  }
@Test public void tcBoolean2String_false() { String actual = "false"; String expected = "false"; actual = OKW_Helper.Boolean2String(false); assertEquals( expected, actual); }
@Test public void tcBoolean2String_true() { String actual = "true"; String expected = "true"; actual = OKW_Helper.Boolean2String(true); assertEquals(expected, actual); }