Package org.strecks.view

Source Code of org.strecks.view.TestActionForwardViewAdapter

package org.strecks.view;

import org.apache.struts.action.ActionForward;
import org.testng.annotations.Test;


/**
* @author Phil Zoio
*/
public class TestActionForwardViewAdapter
{
  @Test
  public void test()
  {
    ActionForwardViewAdapter a = new ActionForwardViewAdapter(null);
    assert a.getActionForward() == null;
   
    ActionForward actionForward = new ActionForward();
    a = new ActionForwardViewAdapter(actionForward);
    assert a.getActionForward() == actionForward;
  }
}
TOP

Related Classes of org.strecks.view.TestActionForwardViewAdapter

TOP
Copyright © 2018 www.massapi.com. 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.