package com.hypertino.inflector.naming

import org.scalatest.{FlatSpec, Matchers}

class TestDashCaseBuilder extends FlatSpec with Matchers {
  "DashCaseBuilder " should " build string-like-this" in {

    val parser = CamelCaseParser
    val builder = new DashCaseBuilder()

    parser.parse("StringLikeThis", builder)
    val result = builder.toString()

    assert(result == "string-like-this")
  }
}
