Package br.com.caelum.vraptor.musicjungle.acceptance.builder

Examples of br.com.caelum.vraptor.musicjungle.acceptance.builder.MusicBuilder


  @Before
  public void setUp() {
    this.loginPage = loginPage();
    loginPage.createAndloginAsUser(userName);
    this.music = new MusicBuilder(3, "Please Please Me", "Beatles", ROCK).create();
    homePage().addMusic(music);
    loginPage.logout();
  }
View Full Code Here


 
  @Before
  public void setUpBeforeClass() {
    loginPage().createAndloginAsUser("vraptortest");
    HomePage page = homePage();
    this.mozart = new MusicBuilder(1, "Mozart - Symphony #40", "Mozart", CLASSICAL).create();
    this.beethoven = new MusicBuilder(2, "Moonlight Sonata", "Beethoven", CLASSICAL).create();
    page.addMusic(mozart);
    page.addMusic(beethoven);
    loginPage().logout();
  }
View Full Code Here

TOP

Related Classes of br.com.caelum.vraptor.musicjungle.acceptance.builder.MusicBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.