Example usage for org.apache.commons.lang RandomStringUtils randomAlphabetic

List of usage examples for org.apache.commons.lang RandomStringUtils randomAlphabetic

Introduction

In this page you can find the example usage for org.apache.commons.lang RandomStringUtils randomAlphabetic.

Prototype

public static String randomAlphabetic(int count) 

Source Link

Document

Creates a random string whose length is the number of characters specified.

Characters will be chosen from the set of alphabetic characters.

Usage

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testChannelsInvalidEnvironment() throws Exception {
    this.deploymentManagerSUT.channels(null, RandomStringUtils.randomAlphabetic(10),
            RandomStringUtils.randomAlphabetic(10));
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testUpdateChannel() throws Exception {
    this.deploymentManagerSUT.updateChannel(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testUpdateChannelInvalidSite() throws Exception {
    this.deploymentManagerSUT.updateChannel(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testUpdateChannelNewChannel() throws Exception {
    this.deploymentManagerSUT.updateChannel(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testUpdateChannelExistingChannel() throws Exception {
    this.deploymentManagerSUT.updateChannel(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testUpdateChannelInvalidChannel() throws Exception {
    this.deploymentManagerSUT.updateChannel(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testRemoveChannel() throws Exception {
    this.deploymentManagerSUT.removeChannel(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testRemoveChannelInvalidSite() throws Exception {
    this.deploymentManagerSUT.removeChannel(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testRemoveChannelInvalidChannel() throws Exception {
    this.deploymentManagerSUT.removeChannel(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}

From source file:org.craftercms.studio.impl.deployment.DeploymentManagerImplTest.java

@Test(expected = StudioException.class)
public void testRemoveChannelChannelDoesNotExist() throws Exception {
    this.deploymentManagerSUT.removeChannel(null, RandomStringUtils.randomAlphabetic(10),
            createDeploymentChannelMock());
}