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.dependency.DependencyManagerImplTest.java

@Test(expected = StudioException.class)
public void testDependsOn() throws Exception {
    this.dependencyManagerSUT.dependsOn(null, UUID.randomUUID().toString(),
            RandomStringUtils.randomAlphabetic(10));
}

From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java

@Test(expected = StudioException.class)
public void testDependsOnItemDoesNotExist() throws Exception {
    this.dependencyManagerSUT.dependsOn(null, UUID.randomUUID().toString(),
            RandomStringUtils.randomAlphabetic(10));
}

From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java

@Test(expected = StudioException.class)
public void testDependsOnInvalidItemId() throws Exception {
    this.dependencyManagerSUT.dependsOn(null, UUID.randomUUID().toString(),
            RandomStringUtils.randomAlphabetic(10));
}

From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java

@Test(expected = StudioException.class)
public void testDependsOnInvalidOperation() throws Exception {
    this.dependencyManagerSUT.dependsOn(null, UUID.randomUUID().toString(),
            RandomStringUtils.randomAlphabetic(10));
}

From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java

@Test(expected = StudioException.class)
public void testDependentOn() throws Exception {
    this.dependencyManagerSUT.dependentOn(null, UUID.randomUUID().toString(),
            RandomStringUtils.randomAlphabetic(10));
}

From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java

@Test(expected = StudioException.class)
public void testDependentOnItemDoesNotExist() throws Exception {
    this.dependencyManagerSUT.dependentOn(null, UUID.randomUUID().toString(),
            RandomStringUtils.randomAlphabetic(10));
}

From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java

@Test(expected = StudioException.class)
public void testDependentOnInvalidItemId() throws Exception {
    this.dependencyManagerSUT.dependentOn(null, UUID.randomUUID().toString(),
            RandomStringUtils.randomAlphabetic(10));
}

From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java

@Test(expected = StudioException.class)
public void testDependentOnInvalidOperation() throws Exception {
    this.dependencyManagerSUT.dependentOn(null, UUID.randomUUID().toString(),
            RandomStringUtils.randomAlphabetic(10));
}

From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java

@Test(expected = StudioException.class)
public void testAdd() throws Exception {
    this.dependencyManagerSUT.add(null, UUID.randomUUID().toString(), RandomStringUtils.randomAlphabetic(10),
            createItemListMock());/*from ww w . j  a v a  2  s  .  c  o m*/
}

From source file:org.craftercms.studio.impl.dependency.DependencyManagerImplTest.java

@Test(expected = StudioException.class)
public void testAddItemDoesNotExist() throws Exception {
    this.dependencyManagerSUT.add(null, UUID.randomUUID().toString(), RandomStringUtils.randomAlphabetic(10),
            createItemListMock());/*w  ww. j  ava 2  s. c  o  m*/
}