blob: b2eaa39add155f16e9a59a8e33599995f7837622 [file] [log] [blame]
/*
* Copyright (c) 2011 Google Inc.
*
* All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse
* Public License v1.0 which accompanies this distribution, and is available at
*
* http://www.eclipse.org/legal/epl-v10.html
*/
package com.google.eclipse.protobuf.ui.grammar;
import static org.hamcrest.core.IsEqual.equalTo;
import static org.junit.Assert.assertThat;
import static com.google.eclipse.protobuf.ui.grammar.CompoundElement.DEFAULT_EQUAL;
import org.junit.Test;
/**
* Tests for <code>{@link CompoundElement#toString()}</code>.
*
* @author alruiz@google.com (Alex Ruiz)
*/
public class CompoundElement_toString_Test {
@Test public void should_return_value() {
assertThat(DEFAULT_EQUAL.toString(), equalTo("default = "));
}
}