Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Knp
Bundle
TimeBundle
DateTimeFormatterTest
PHP Class Knp\Bundle\TimeBundle\DateTimeFormatterTest
Inheritance:
extends
PHPUnit_Framework_TestCase
显示文件
Open project: KnpLabs/KnpTimeBundle
Protected Properties
Property
Type
Description
$formatter
Public Methods
Method
Description
setUp
( )
testFormatDiff
( )
testGetDiffMessage
( )
testGetDiffMessageThrowsAnExceptionIfTheDiffIsEmpty
( )
testGetDiffMessageThrowsAnExceptionIfTheDiffUnitIsNotSupported
( )
Method Details
setUp()
public
method
public
setUp
( )
testFormatDiff()
public
method
public
testFormatDiff
( )
testGetDiffMessage()
public
method
public
testGetDiffMessage
( )
testGetDiffMessageThrowsAnExceptionIfTheDiffIsEmpty()
public
method
public
testGetDiffMessageThrowsAnExceptionIfTheDiffIsEmpty
( )
testGetDiffMessageThrowsAnExceptionIfTheDiffUnitIsNotSupported()
public
method
public
testGetDiffMessageThrowsAnExceptionIfTheDiffUnitIsNotSupported
( )
Property Details
$formatter
protected_oe property
protected
$formatter