// Path: src/main/java/net/seleucus/wsp/console/WSConsole.java
// public abstract class WSConsole {
// 
// 	public static final WSConsole getWsConsole() {
// 		if (System.console() != null) {
// 			return new WSConsoleNative();
// 		} else {
// 			return new WSConsoleInOut();
// 		}
// 	}
// 
// 	public abstract String readLine(String string);
// 
// 	public abstract char[] readPassword(String string);
// 
// 	public abstract void println(String string);
// 
// }


import net.seleucus.wsp.console.WSConsole;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.sql.SQLException;
import static org.junit.Assert.*;
		assertTrue(
			"Major version is between [0,10): " + minorVersion,
			( (minorVersion >= VERSION_MIN) && (minorVersion < VERSION_MAX) )
		);
	}

	@Test
	public final void testGetValue() {
		assertEquals(WSVersion.getValue(), WSVersion.getMajor() + "." + WSVersion.getMinor());
	}

	@Test
	public final void shouldBe3Characters() {
		String version = WSVersion.getValue();
		assertEquals(3, version.length());
	}

	@Test
	public final void testIsValidTrue() {
		assertTrue(WSVersion.isCurrentVersion("0.8"));
	}

	@Test
	public final void testIsValidFalse() {
		assertFalse(WSVersion.isCurrentVersion("0.4"));
	}

	@Test
	public void testRunConsole() throws SQLException {

// Path: src/main/java/net/seleucus/wsp/console/WSConsole.java
// public abstract class WSConsole {
// 
// 	public static final WSConsole getWsConsole() {
// 		if (System.console() != null) {
// 			return new WSConsoleNative();
// 		} else {
// 			return new WSConsoleInOut();
// 		}
// 	}
// 
// 	public abstract String readLine(String string);
// 
// 	public abstract char[] readPassword(String string);
// 
// 	public abstract void println(String string);
// 
// }


// Path: src/test/java/net/seleucus/wsp/main/WSVersionTest.java
import net.seleucus.wsp.console.WSConsole;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.sql.SQLException;
import static org.junit.Assert.*;

		assertTrue(
			"Major version is between [0,10): " + minorVersion,
			( (minorVersion >= VERSION_MIN) && (minorVersion < VERSION_MAX) )
		);
	}

	@Test
	public final void testGetValue() {
		assertEquals(WSVersion.getValue(), WSVersion.getMajor() + "." + WSVersion.getMinor());
	}

	@Test
	public final void shouldBe3Characters() {
		String version = WSVersion.getValue();
		assertEquals(3, version.length());
	}

	@Test
	public final void testIsValidTrue() {
		assertTrue(WSVersion.isCurrentVersion("0.8"));
	}

	@Test
	public final void testIsValidFalse() {
		assertFalse(WSVersion.isCurrentVersion("0.4"));
	}

	@Test
	public void testRunConsole() throws SQLException {

		WSVersion myVersion = new WSVersion(new WebSpa(WSConsole.getWsConsole()));